﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BLL.Services.Friends.Listing
{
    public class ListingFriendsIsAccepted
    {
        public ListingFriendsIsAccepted()
        {
            Friends = new List<Friend>();

            Filter = new FriendsIsAcceptedFilter();
        }

        public int UserId { get; set; }

        public int TotalPages { get; set; }

        public int Page { get; set; }

        public int Size { get; set; }

        public string Column { get; set; }

        public int Direction { get; set; }

        public List<Friend> Friends { get; set; }

        public FriendsIsAcceptedFilter Filter{get;set;}

        public class Friend 
        {
            [Display(Name = "Avatar")]
            public string Avatar { get; set; }

            [Display(Name = "Email")]
            public string Email { get; set; }

            [Display(Name = "Login")]
            public string Login { get; set; }

            [UIHint("hidden")]
            public int FriendId { get; set; }
        }
    }
}
